package com.zzs.client.service;

import com.zzs.client.pojo.dto.submit.CodeSubmitDTO;
import com.zzs.client.pojo.vo.submit.CodeSubmitDetailVO;
import com.zzs.client.pojo.vo.submit.CodeSubmitVO;
import com.zzs.common.core.response.PageResult;

/**
 * @author zzs
 * @date 2025/04/01
 */
public interface CodeSubmitService {
    String submit(CodeSubmitDTO codeSubmitDTO, long userId);

    CodeSubmitDetailVO getCodeSubmitDetail(long codeSubmitId);

    PageResult<CodeSubmitVO> listCodeSubmits(long userId, long problemId);
}
